<div class="bg-light lter b-b wrapper-sm">
    <h1 class="m-n font-thin h4">应收账单生成</h1>
</div>
<div class="wrapper-sm" ng-controller="receivableCloseBillController">
    <div class="panel panel-default">
        <div class="panel-heading font-bold"></div>
        <div class="panel-body">
            <label class="control-label pull-left w-xs">应收总额：</label>
            <label class="col-lg-2 control-label text-left">{{receivableTotalMoney}}</label>
            <label class="control-label pull-left w-xs">结算人：</label>
            <label class="col-lg-2 control-label text-left">{{reckonerName}}</label>
            <div class="line line-xs pull-in"></div>
            <label class="control-label pull-left w-xs">应收说明：</label>
            <div class="col-lg-7 control-label text-left">
                <textarea class="form-control input-sm" ng-model="description" placeholder="请填写应收说明" name="description"></textarea>
            </div>
        </div>
    </div>
    <div class="panel panel-default">
        <div class="panel-heading">
            应收结算列表
        </div>
        <div class="table-responsive">
            <div ui-grid="gridOptions" ui-grid-pagination ui-grid-auto-resize ui-grid-resize-columns style="height:{{heightA}}px; min-width:1000px; min-height:470px; overflow-y:hidden;">
                <div class="watermark" ng-if="!gridOptions.data.length">暂无数据</div>
            </div>
        </div>
        <div class="panel-body">
            <button class="pull-right-xs btn btn-sm btn-success btn-addon" ng-click="addReceivable()" id="addReceivable"><i class="fa fa-file-text-o"></i>生成应收账单</button>
            <button class="pull-right-xs btn btn-sm btn-warning btn-addon" ng-click="back()" id="return"><i class="fa fa-mail-reply"></i>返回</button>
        </div>
    </div>
</div>